

<%@page contentType="text/html" pageEncoding="UTF-8"%>

<%@taglib prefix="f" uri="http://java.sun.com/jsf/core"%>
<%@taglib prefix="h" uri="http://java.sun.com/jsf/html"%>
<%@taglib prefix="t" uri="http://myfaces.apache.org/tomahawk"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">
<f:view>
       <%@include file="../WEB-INF/jspf/html_inicio.jspf" %>
    <%@include file="../WEB-INF/jspf/cabecera.jspf" %>
    <%@include file="../WEB-INF/jspf/navbar.jspf" %>
    <%@include file="../WEB-INF/jspf/cuadro_inicio.jspf" %>
    <%@include file="../WEB-INF/jspf/menu_principal.jspf" %>
    <%@include file="../WEB-INF/jspf/cuadro_medio.jspf" %>
    <%@include file="../WEB-INF/jspf/bloque_inicio.jspf" %>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
          <link rel=stylesheet type="text/css" href="/edu.upn.sigeadmi.cxc-war/style.css">
    </head>
    <body>
        
<h3><h:outputText value="Lista de Estado de Letras  "/></h3>
     
         <h:form id="frmListar">
             <h:commandButton id="btnNuevo" value="Nuevo" action="#{EstadoLetraController.nuevo}"/>
         <h:dataTable id="tblEstadoLetra"
                      var="estadoletra"
                      value="#{EstadoLetraController.estadoLetra}"
                      border="1"
                      cellpadding="0"
                      cellspacing="0"
                       headerClass="headerAlignment"
columnClasses="Columnauno"
                      >
                    <h:column>
                        <f:facet name="header"><h:outputText value="Codigo"/></f:facet>
                        <h:outputText value="#{EstadoLetraController.estadoletra.pkEstadoLetra}"/>
                    </h:column>
                    <h:column>
                        <f:facet name="header"><h:outputText value="Nombre"/></f:facet>
                        <h:outputText value="#{EstadoLetraController.estadoletra.nombre}"/>
                    </h:column>
                   
                    <h:column>
                        <f:facet name="header"></f:facet>
                        <h:commandButton id="btnEditar" image="/RegPago/IMGS/Editar.png" value="Editar" action="#{EstadoLetraController.edita}">
                            <f:setPropertyActionListener value="#{estadoletra}" target="#{EstadoLetraController.estadoletra}" />
                        </h:commandButton>
                    </h:column>
                    <h:column>
                        <f:facet name="header"></f:facet>
                        <h:commandButton id="btnEliminar" image="/RegPago/IMGS/Borra.png"  value="Eliminar"  action="#{TasaInteresController.eliminar}">
                            <f:setPropertyActionListener value="#{estadoletra}" target="#{EstadoLetraController.estadoletra}" />
                        </h:commandButton>
                    </h:column>
                    <h:column>
                        <f:facet name="header"></f:facet>
                        <h:commandButton id="btnMostrar" image="/RegPago/IMGS/Mostrar.png" value="Mostrar"  action="#{TasaInteresController.mostrar}">
                            <f:setPropertyActionListener value="#{estadoletra}" target="#{EstadoLetraController.estadoletra}" />
                        </h:commandButton>
                    </h:column>

                </h:dataTable>
             </h:form>
 <div class="centrar">
            <a href="#"><img src="/edu.upn.sigeadmi.cxc-war/img/logo_ta_resize.png" border="0"/></a>
        </div>
   <%@include file="../WEB-INF/jspf/bloque_fin.jspf" %>
    <%@include file="../WEB-INF/jspf/cuadro_fin.jspf" %>
    <%@include file="../WEB-INF/jspf/pie.jspf" %>
    <%@include file="../WEB-INF/jspf/html_fin.jspf" %>
    </body>
</html>
</f:view>